<!--Copyright (C) Kherty.  All rights reserved.-->
<ResourceDictionary
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    x:Class="OpenLS.Spreadsheet.UI.CellResources"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:ss="http://schemas.Kherty.com/office/2007/spreadsheet" 
    xmlns:office="http://schemas.Kherty.com/office/2007/core"
                    

    >
  <DataTemplate DataType="{x:Type office:CompositeFormattedValue}">

    <ItemsControl ItemsSource="{Binding Items}">
      <ItemsControl.ItemsPanel>
        <ItemsPanelTemplate>
          <StackPanel Orientation="Horizontal"/>
        </ItemsPanelTemplate>
      </ItemsControl.ItemsPanel>
    </ItemsControl>
  </DataTemplate>
  
  <DataTemplate DataType="{x:Type office:InvisibleText}">
    <TextBlock Text ="{Binding Text}" Visibility="Hidden"/>
  </DataTemplate>
</ResourceDictionary>